package com.xyh.dao;

import com.xyh.bean.Insect;

import java.util.List;

/**
 * @Author: XiongYuhao
 * @Date: 2020/10/23 0023-上午 10:40
 * @Description: MyForestManagerSystem
 * @version：1.0
 */
public interface IInsectDao {

    int insectCounts(String insectName,String host);

    List<Insect> listsByPage(int pageNo, int pageSize,String insectName,String host);

    int addInsect(Insect insect);

    int delete(int id);

    int update(Insect insect);
}
